home *** CD-ROM | disk | FTP | other *** search
- Path: clri6a.gsi.de!kraemer
- From: kraemer@clri6a.gsi.de (Michael Kraemer)
- Newsgroups: comp.sys.amiga.programmer
- Subject: Re: asm code needed to check thecurrent processor ...
- Date: 11 Jan 1996 16:08:09 GMT
- Organization: GSI Darmstadt
- Message-ID: <4d3cla$n6c@rs18.hrz.th-darmstadt.de>
- References: <4d1j99$fs6@rc1.vub.ac.be>
- NNTP-Posting-Host: clri6a.gsi.de
- To: vcolet@vub.ac.be (COLET VINCENT)
-
- In article <4d1j99$fs6@rc1.vub.ac.be>, vcolet@vub.ac.be (COLET VINCENT) writes:
- > hi, I'm looking for some asm code to check current processor
- > (680x0) available, fpu, mmu on a Amiga.
- >
- > I'f you have some routines ... could you send it to me ...
- >
-
- As a first aid you could do sth like:
-
- move.l #4,a0
- move.l (a0),a0
- btst #1,AttnFlags+1(a0) ; test if CPU >= 68020
- beq No_68020
-
- I don't have the bits for the other processors/FPUs at hand, but they are
- defined in "execbase.i" I guess.
-